#include "../mqserver/mq_channel.hpp"

int main()
{
    wsmq::ChannelManager::ptr chmp = std::make_shared<wsmq::ChannelManager>();
    chmp->openChannel("c1", 
        muduo::net::TcpConnectionPtr(), 
        std::make_shared<wsmq::VirtualHost>("host1", "./data/host1/message/", "./data/host1/host1.db"),
        std::make_shared<wsmq::ConsumerManager>(),
        wsmq::ProtobufCodecPtr(), 
        ThreadPool::ptr());
    return 0;
}